import Vue from 'vue'
import App from './App'
import uView from 'uview-ui';
import httpInterceptor from '@/common/http.interceptor.js'
import store from './store'
// 把store挂载到Vue原型 挂载方式一
Vue.prototype.$store = store
Vue.config.productionTip = false
Vue.use(uView);

App.mpType = 'app'

const app = new Vue({
  // 挂载方式二
  store,
  ...App
})
Vue.use(httpInterceptor, app)
app.$mount()